package com.firefly.dao.dto.mc;

import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.Positive;
import javax.validation.constraints.Size;
import java.io.Serializable;

/**
 * @description: 更新头像昵称
 * @author: lzg(萤火科技 ： 854378082 @ qq.com)
 * @date: 2023/2/10
 **/
@Data
@EqualsAndHashCode
public class McUserUpdateNickDto implements Serializable {
    private static final long serialVersionUID = 1L;
    @Positive(message = "ID是大于0的整数")
    private Integer id;
    @Size(min = 1, max = 255, message = "昵称长度不正确")
    private String nickname;
    @Size(min = 1, max = 255, message = "请选择头像")
    private String thumb;
}
